package com.lottery.material.dao.promotion;

import com.lottery.material.pojo.promotion.PromotionRealtimeRecord;

/**
 * @description 推广实时记录Mapper
 * @author rambo
 * @date 2019年4月19日 9:29:04
 */
@SuppressWarnings("JavaDoc")
public interface PromotionRealtimeRecordMapper {

    Integer deleteByPrimaryKey(Integer id);

    Integer insert(PromotionRealtimeRecord record);

    Integer insertSelective(PromotionRealtimeRecord record);

    PromotionRealtimeRecord selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(PromotionRealtimeRecord record);

    Integer updateByPrimaryKey(PromotionRealtimeRecord record);

    /**
     * description: 查询当前推广总数
     * author sunny
     * createDate 2019-04-19 下午 4:10
     * @return
     */
    Integer findCurrentPromotionCount();
}
